﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Crossroad.Core.Helper
{
    public interface IRelevantData<T>
    {
        /// <summary>
        /// 加载关联数据
        /// </summary>
        /// <param name="list"></param>
        void Load(List<T> list);

        /// <summary>
        /// 加载关联数据
        /// </summary>
        /// <param name="model"></param>
        void Load(T model);
    }
}
